package com.croqodile.test.support {
    import flash.display.MovieClip;
    import flash.system.Security;
    import com.senocular.utils.Output;
    import flash.utils.Timer;
    import com.croqodile.*;
    import flash.events.*;
    import com.croqodile.events.*;
    
    public class DumbController extends Controller {
	
	public static function create(islandClass:Class, ...args):DumbController{
	    var newCont:DumbController = new DumbController();
	    newCont._island = islandClass.create.apply(islandClass, args);
	    newCont._island.setController(newCont);
	    return newCont;
	}

	public function triggerExternalMessage(str:String):void {
	    this.onMessageFromRouter(new ExternalMessageEvent(str));
	}

    }

}


